<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>文档管理</title>
<link href="../Public/css/base.css" type="text/css" rel="stylesheet">
</head>
<body background="../Public/images/allbg.gif" onload='shortCont(20)'>
<form name="form2">
<table width="98%" cellspacing="1" cellpadding="2" border="0" bgcolor="#CFCFCF" align="center" style="margin-top:8px">
<tbody>
<tr bgcolor="#E7E7E7">
	<td height="28" background="../Public/images/tbg.gif" style="padding-left:10px;" colspan="10"> ◆ {$module_name[0]} &gt; <notempty name="module_name[1]">{$module_name[1]} &gt;</notempty>文档列表 &nbsp; </td>
</tr>
<tr height="25" bgcolor="#FBFCE2" align="center">
<td width="6%">ID</td>
<td width="10%">企业名称</td>
<td width="28%">企业类型</td>
<td width="8%">详细信息</td>
<td width="10%">发布时间</td>
<td width="8%">发布单位</td>
<td width="8%">企业主页链接</td>
<td width="10%">备注</td>
<td width="8%">操作</td>
</tr>
<volist name="list" id="vo">
	<tr height="26" bgcolor="#FFFFFF" align="center" onmouseout="javascript:this.bgColor='#FFFFFF';" onmousemove="javascript:this.bgColor='#FCFDEE';">
		<td>{$vo.id}</td>
		<td>{$vo.enterprise_name}</td>
		<td {$vo.enterprise_type}</td>
		<td name='con'>{$vo.detail_info}</td>
		<td>{$vo.publishtime|date="y-m-d",###}</td>
		<td>{$vo.publisher}</td>
		<td><a target="_blank" href="{$vo.index_link}">主页链接</a></td>
		<td>{$vo.comments}</td>
		<td><a href="__URL__/delete/?id={$vo.id}">删除</a></td>
	</tr>
</volist>
<tr align="right" bgcolor="#F9FCEF">
	<td height="36" colspan="10" align="center">
		<span>{$show}</span>
	</td>
</tr>
</table>
<script>
//当文字超过num个时，后面的变成...
function shortCont(num){
	var con = document.getElementsByName("con");
	var n = con.length;
	for(var i=0;i < n; i++){
		var o = con[i].innerHTML;
		if(o.length > num){
			o = o.substr(0,num);
			o += "...";
		}
		con[i].innerHTML = o;
	}
}
</script>
</body>
</html>

